Legislator Dataset Codebook
===========================

Variable Name         Storage Type    Display Format    Value Label    Variable Label
-------------------------------------------------------------------------------------
st                    str2           %-9s                              
chamber               str6           %-9s                              House or Senate
year                  long           %12.0g                            Year of Observation
lastname              str19          %-9s                              Legislator lastname
party                 str1           %-9s                              Party id, as string
state_cham            str9           %-9s                              state_cham id
name                  str32          %-9s                              Legislator name
np_score              double         %10.0g                            Shor-McCarty ideology score
state                 str2           %-9s                              state id
Chamber               str6           %-9s                              House or Senate
treatment             long           %12.0g                            Indicator for adoption of cameras
count                 long           %12.0g                            count--used to process data, can be ignored
total_intro           double         %10.0g                            Total number of bills and res introduced in state-year
total_enact           long           %12.0g                            Total number of bills and res enacted in state-year
veto                  long           %12.0g                            Total number of bills and res vetoed in state-year
election_year         long           %12.0g                            Indicator for House or Senate elections in state-year
divided_gov           long           %12.0g                            Indicator for divided gov in state-year
late_budget           long           %12.0g                            Indicator that the state adopted budget late
budget_kurtosis       double         %10.0g                            Epps measure of budget kurtosis
chamber_med           double         %10.0g                            whole chamber median score
dem_median            double         %10.0g                            Democratic party median in state-chamber-year
rep_median            double         %10.0g                            Republican party median in state-chamber-year
majority_median       double         %10.0g                            Majority party median state-chamber-year
minority_median       double         %10.0g                            Minority party median state-chamber-year
dem_mean              double         %10.0g                            Democratic party mean in state-chamber-year
rep_mean              double         %10.0g                            Republican party mean in state-chamber-year
diffs                 double         %10.0g                            Distance between party medians state-chamber-year
distance              double         %10.0g                            Distance between any two members, state-chamber-year, 
                                                                       shor-mccarty call it party
dem_sd                double         %10.0g                            Dem standard deviation
rep_sd                double         %10.0g                            Rep standard deviation
chamber_sd            double         %10.0g                            whole chamber-state-year standard deviation
mds1                  double         %10.0g                            prof. first dimensional scaling from harden and Kirkland
mds2                  double         %10.0g                            prof. second dimensional scaling from harden and Kirkland
ranney                double         %10.0g                            political competition measure
stateno               long           %12.0g                            State no id
pop_annual            long           %12.0g                            annual state population-raw
gsp_q                 long           %12.0g                            gross state product raw
legislative_temp      double         %10.0g                            legislative expenditures raw
tl                    long           %12.0g                            term limits in state
citizen_ideo          double         %10.0g                            berry measure of citizen ideology
state_ideo            double         %10.0g                            berry measure of state ideology
percentwin            double         %10.0g                            not used in analysis
sles                  double         %10.0g                            legislator effectiveness
district              str3           %-9s                              district id--not used in analysis
majority              double         %10.0g                            majority party member=1
distid                str12          %-9s                              district id
uniqueid              str10          %-9s                              id--not used in analysis
party_loyalty         double         %10.0g                            Proportion of party votes,0-1
lnpop                 float          %9.0g                             annual state population--logged
lngsp                 float          %9.0g                             logged gross state product
lnexp                 float          %9.0g                             logged legislative expenditures
lnsles                float          %9.0g                             logged legislator effectiveness
billprop              float          %9.0g                             proportion of introduced bills that are enacted
chamid                long           %8.0g              chamid         
party_id              long           %8.0g              party_id       party of legislator, 0=dem, 1=gop
uniqueid1             long           %10.0g             uniqueid1      used in analysis as unique district id
distid1               long           %12.0g             distid1        district id
duplicates            int            %12.0g                            used to process data-can be ignored

Data Information:
- Dataset is sorted by: distid1, year
- Total variables: 53